<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<header class="header">
	<div class="layout-wrapper">
		<h1 class="title header-logo">
			<a class="_icon sprites-logo" style="text-decoration: none;" href="${pageContext.request.contextPath}/">Dressing Social</a>
		</h1>
                        <shiro:user>
                <nav class="link-list">
                    <ul>
                        <li class="link-item"><strong><a href="${pageContext.request.contextPath}/dressings/new">发表衣着</a></strong></li>
                        <li class="link-item"><a class="header-help" href="#">帮助</a></li>
                        <li class="link-item">
                            <a class="header-help" href="${pageContext.request.contextPath}/logout">退出账号</a>
                        </li>
                    </ul>
                </nav>
                        </shiro:user>
		<div class="auth-list">
                    
                    <div>
                        <shiro:guest>
                            <a href="${pageContext.request.contextPath}/login" class="login-button">
                                    <span class="text">登录</span>
                                    <i class="icon-menu-trigger"></i>
                            </a>
                        </shiro:guest>
                    </div>
		</div>
	</div>
</header>